import 'dart:convert';

LevelData levelDataFromJson(String str) => LevelData.fromJson(json.decode(str));
String levelDataToJson(LevelData data) => json.encode(data.toJson());
class LevelData {
  LevelData({
      this.riskLevel, 
      this.riskLevelSum,
      this.problemType,
      this.problemTypeSum,
  });

  LevelData.fromJson(dynamic json) {
    riskLevel = json['riskLevel'];
    problemType = json['problemType'];
    riskLevelSum = json['riskLevelSum'];
    problemTypeSum = json['problemTypeSum'];
  }
  String? riskLevel;
  String? problemType;
  num? riskLevelSum;
  num? problemTypeSum;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['riskLevel'] = riskLevel;
    map['problemType'] = problemType;
    map['riskLevelSum'] = riskLevelSum;
    map['problemTypeSum'] = problemTypeSum;
    return map;
  }

}